package com.bookstore.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("book_msg")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookMsgPo {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer bookId;
    private String userName;
    private String msg;
    private String createTime;
    private String star;
    @TableField(exist = false)
    private String bookName;
}
